import request from '@/utils/request'

//新增
export function carbonNeutralityAdd(data) {
  return request({
    url: 'carbonNeutrality/add',
    method: 'post',
    data
  })
}

//删除
export function carbonNeutralityDelete(data) {
  return request({
    url: 'carbonNeutrality/delete',
    method: 'post',
    data
  })
}

//修改
export function carbonNeutralityEdit(data) {
  return request({
    url: 'carbonNeutrality/edit',
    method: 'post',
    data
  })
}

export function upFile(data) {
  return request({
    url: `public/file/upload`,
    method: 'post',
    dataType: 'file',
    data
  })
}


export default { 
  carbonNeutralityAdd,
  carbonNeutralityDelete,
  carbonNeutralityEdit,
  upFile
}
